#{extends 'CRUD/layout.html' /}
#{set title:messages.get('crud.title') /}

<div class="col-lg-12">

   <!--  <h1 class="page-header">&{'crud.index.title'}</h1> -->
	
	<div class="col-lg-12 jumbotron">
		<h2>欢迎使用MengCMS内容管理系统</h2>
		<p>内容管理系统描述</p>
		<p>
			<a class="btn btn-primary btn-lg" role="button" href="#">Learn more »</a>
		</p>
	</div>
	
	<div class="col-lg-12">
	#{crud.types}
		<div class="col-lg-2">
			<div class="panel panel-default">
			  <div class="panel-heading">
			    <h3 class="panel-title">&{type.name}</h3>
			  </div>
			  <div class="panel-body">
			  	${type.count(null,null,null)}
			  </div>
			</div>
		</div>
	#{/crud.types}
	</div>
    

</div>
